package com.example.lin.day9_27.mvp.model;

import com.example.lin.day9_27.pojo.ResultData;
import com.example.lin.day9_27.pojo.User;

public interface IMainModel {

    interface OnLoadCallback {
        void onSuccess(ResultData<User> resultData);

        void onFaild(Throwable e);
    }

    void login(String user, String psw, OnLoadCallback callback);

}
